# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-tyrquake
pkgver=0_git20220409
pkgrel=0
_commit="c516c1fe4266e5f982703d509cc10ceb12167894"
pkgdesc="libretro port of Tyrquake (Quake 1 engine)"
url="https://github.com/libretro/tyrquake"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/tyrquake/archive/$_commit.tar.gz"
builddir="$srcdir/tyrquake-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 tyrquake_libretro.so "$pkgdir"/usr/lib/libretro/tyrquake_libretro.so
}

sha512sums="
3e4058a0c9e18a9905b7f22e347891265bce31aec9b72de4ee28348b75b0d6e312b2a6862d055074d543cf6a9c1c9474c5b69748f095b339a8c8b0b314eb5311  libretro-tyrquake-c516c1fe4266e5f982703d509cc10ceb12167894.tar.gz
"
